package com.tbvtc.agriculturalcreditchainserver2025.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "users.address") //
public class ContractAdressProperties { // 读取配置文件中的合约地址的配置
    private String ConsumerContractAddress; // 消费者合约地址
    private String CropManagementAddress;
    private String FarmerManagementAddress;
    private String loTManagementAddress;
    private String LandManagementAddress;
    private String LogisticContractAddress;
    private String RoleManagementAddress;

}
